package com.whfc.mach.param;

import com.whfc.common.validator.FieldScope;
import com.whfc.common.validator.FieldScopeType;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClasssName DeviceMachBindParam
 * @Description 设备绑定硬件请求参数
 * @Author hw
 * @Date 2020/8/18 9:47
 * @Version 1.0
 */
@Data
public class DeviceMachBindParam implements Serializable {

    private Integer id;
    /**
     * 硬件sn
     */
    @NotEmpty
    private String sn;
    /**
     * 设备id
     */
    @NotNull
    private Integer machId;
    /**
     * 人员ID
     */
    private Integer userId;
    /**
     * 人员名称
     */
    private String nickName;
    /**
     * 硬件ID
     */
    private Integer deviceId;

    private Integer deviceType;
}
